import com.chenshu.controller.UserController;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created with IntelliJ IDEA
 * Description
 * User：chenshu
 * Date：2023-12-12
 * Time：20:12
 */
public class App {
    public static void main(String[]   args) {
        ApplicationContext context =
                new ClassPathXmlApplicationContext("spring.xml");
        UserController userController =
                context.getBean("userController", UserController.class);
        userController.doController();
    }
}
